package com.ruoyi.eqmonitor.service.impl;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ruoyi.eqmonitor.mapper.OptDeviceAlarmDayDataMapper;
import com.ruoyi.eqmonitor.domain.OptDeviceAlarmDayData;
import com.ruoyi.eqmonitor.service.IOptDeviceAlarmDayDataService;

/**
 * 报警Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-07-04
 */
@Service
public class OptDeviceAlarmDayDataServiceImpl extends ServiceImpl<OptDeviceAlarmDayDataMapper,OptDeviceAlarmDayData> implements IOptDeviceAlarmDayDataService {
    
    @Autowired
    private OptDeviceAlarmDayDataMapper optDeviceAlarmDayDataMapper;

    @Override
    public OptDeviceAlarmDayData selectOptDeviceAlarmDayDataById(Long id){
        return optDeviceAlarmDayDataMapper.selectOptDeviceAlarmDayDataById(id);
    }
      
    @Override
    public List<OptDeviceAlarmDayData> selectOptDeviceAlarmDayDataList(OptDeviceAlarmDayData optDeviceAlarmDayData){
        return optDeviceAlarmDayDataMapper.selectOptDeviceAlarmDayDataList(optDeviceAlarmDayData);
    }

    @Override
    public OptDeviceAlarmDayData selectOptDeviceAlarmDayDataByAlarmId(Long alarmId) {
        return optDeviceAlarmDayDataMapper.selectOptDeviceAlarmDayDataByAlarmId(alarmId);
    }
}
